package com.acme;

// TODO [MY] It's wrong
// Expected 1. Create array 2. Show third element 3. init array
// Actual 1. Create array  2. init array 3. Show third element
public class Arrays {
    public static void main(String[] args) {
        int [] array;

        array = new int[5];
        System.out.println(array[2]);
        //Ok, yes.
        //It works because arrays in java was initialized defolt-value
        //For int - it's value is 0

        for (int i = 0; i <5; i++){
            array[i] = i+1;
        }

        System.out.println(array.length);


    }
}
